package org.xx.armory.docs.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xx.armory.docs.Document;
import org.xx.armory.docs.DocumentFactory;

import java.io.IOException;
import java.io.InputStream;

/**
 * Word2003格式的文档工厂。
 *
 * @author Haart
 */
public final class Word2003DocumentFactory
        extends DocumentFactory {
    @SuppressWarnings("unused")
    private Logger logger = LoggerFactory.getLogger(Word2003DocumentFactory.class);

    /**
     * 构造Word2003格式的文档工厂。
     */
    public Word2003DocumentFactory() {
        this(false);
    }

    /**
     * Word2003格式的文档工厂。
     *
     * @param debugMode
     *         是否启用调试模式。
     */
    public Word2003DocumentFactory(boolean debugMode) {
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public Document load(InputStream stream)
            throws IOException {
        return new Document();
    }

}
